﻿
using Wpf2.ViewModels;

namespace Wpf2.Models
{
    public class Catalogs : PropertyChangedBase
    {
        private int _idCatalog;
        private string _nameCatalog;
        private string _notesCatalog;

        public int IDCatalog
        {
            get { return _idCatalog; }
            set {
                if (_idCatalog == value) return;
                _idCatalog = value;
                OnPropertyChanged("id_catalog");
            }
            
        }
        public string CatalogName
        {
            get { return _nameCatalog; }
            set
            {
                if (_nameCatalog == value) return;
                _nameCatalog = value;
                OnPropertyChanged("CatalogName");
            }
        }
        public string CatalogNotes
        {
            get { return _notesCatalog; }
            set
            {
                if (_notesCatalog == value) return;
                _notesCatalog = value;
                OnPropertyChanged("CatalogNotes");
            }
        }

    }
}
